#define layout()
#@_jsscss()
<title>首页</title>
<style type="text/css">
	.w3000{
		margin-right: 50px;
	}
</style>
</head>
<body onload="">
<div class="centerMain">
        <!-- end -->
        <div class="ui-form">
           <div class="ui-form-item ui-border-b">
                <img src="wx/images/indexbanner.png" alt="alt" title="title" />
           </div>
            <div class="ui-form-item ui-border-b ui-left">
            	<img src="wx/images/send-ico.png" class="index-img" alt="alt" title="title" id="scanQRCode"/>
            </div>
            <div class="ui-form-item ui-border-b ui-right">
            	<img src="wx/images/query-ico.png" class="index-img" alt="alt" title="title"  id="scanQRCode2" />
            </div>
            <div class="ui-form-item ui-border-b ui-right">
            	<img src="wx/images/myorder.png" class="index-img" alt="alt" title="title"  id="scanQRCode3" />
            </div>
        </div>
</div>
<div class="clear"></div>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
    <script type="text/javascript">
	var flag = true;
	  $("#scanQRCode").bind("click",function(){
                    window.location.href="/wxorder/toAddOrder?appid=#(session.appid)";
//	var url = "/jlforder/getShopByCoordinate?appid=#(session.appid)&LNG="+lng+"&LAT="+lat;
	window.location.href=url;
	});
	$("#scanQRCode2").bind("click",function(){
	                    window.location.href="/wxorder/toSerBillHis?appid=#(session.appid)";
	});
	$("#scanQRCode3").bind("click",function(){
	                    window.location.href="/wxorder/toUserOrderList?appid=#(session.appid)";
	});

	</script>

</body>
</html>
#end
#@layout()